package com.java.mybatis.entity;

import java.io.Serializable;

/**
 * (Goods)实体类
 * 注（仓库货物表）
 * @author makejava
 * @since 2021-01-15 17:10:28
 */
public class Goods implements Serializable {
    private static final long serialVersionUID = -45545719128676023L;
    
    private Integer goodsId;//货物id
    
    private String goodsOrders;//货物订单(例如用户下单的#tb321234 随便写)
    
    private String goodsName;//货物名称
    
    private String goodsNumber;//货物数量
    
    private String goodsWeight;//货物重量
    
    private String userName;//下单的用户名(随便写)
    
    private String userPhone;//下单用户的电话号码(随便写)
    
    private String userAddress;//下单用户的地址(要写我们仓库配送的区域其中一个 例如沙坪坝区)
    
    private Order order;//所属订单编号(关联订单表id)
    
    private Goodstype goodstype;//所属类别(关联货物类别表id)
    
    private Location location;//所在仓库位置(关联库位表id)
    
    private Integer goodsState;//货物状态
    
    private Integer goodsCode;//软删除
    
    private Putinlocation putinlocation;//备用字段

    @Override
    public String toString() {
        return "Goods{" +
                "goodsId=" + goodsId +
                ", goodsOrders='" + goodsOrders + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsNumber='" + goodsNumber + '\'' +
                ", goodsWeight='" + goodsWeight + '\'' +
                ", userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userAddress='" + userAddress + '\'' +
                ", order=" + order +
                ", goodstype=" + goodstype +
                ", location=" + location +
                ", goodsState=" + goodsState +
                ", goodsCode=" + goodsCode +
                ", putinlocation=" + putinlocation +
                '}';
    }

    public Putinlocation getPutinlocation() {
        return putinlocation;
    }

    public void setPutinlocation(Putinlocation putinlocation) {
        this.putinlocation = putinlocation;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsOrders() {
        return goodsOrders;
    }

    public void setGoodsOrders(String goodsOrders) {
        this.goodsOrders = goodsOrders;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(String goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getGoodsWeight() {
        return goodsWeight;
    }

    public void setGoodsWeight(String goodsWeight) {
        this.goodsWeight = goodsWeight;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public Goodstype getGoodstype() {
        return goodstype;
    }

    public void setGoodstype(Goodstype goodstype) {
        this.goodstype = goodstype;
    }

    public Location getLocation() {
        return location;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    public Integer getGoodsState() {
        return goodsState;
    }

    public void setGoodsState(Integer goodsState) {
        this.goodsState = goodsState;
    }

    public Integer getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(Integer goodsCode) {
        this.goodsCode = goodsCode;
    }

}